package org.ytor.core.sqlflow.plugin;

import org.ytor.core.sqlflow.builder.support.WhereBuilder;
import org.ytor.core.sqlflow.executor.DMLResult;
import org.ytor.core.sqlflow.executor.DQLResult;

import java.util.List;

/**
 * created by yangtong on 2025/8/14 21:09:27
 * <br/>
 * 拦截器适配器
 */
public abstract class InterceptorAdapter implements Interceptor {
    @Override
    public void beforeSelectBuilder(Class<?> table, String tableName, List<String> selectFields, WhereBuilder where) {

    }

    @Override
    public void beforeInsertBuilder(Class<?> table, String tableName) {

    }

    @Override
    public void beforeDeleteBuilder(Class<?> table, String tableName, WhereBuilder where) {

    }

    @Override
    public void beforeUpdateBuilder(Class<?> table, String tableName, WhereBuilder where) {

    }

    @Override
    public void beforeSelect(Class<?> tableClass, String tableName, String sql, List<String> selectFields, WhereBuilder where, List<Object> params) {

    }

    @Override
    public void afterSelect(Class<?> tableClass, String tableName, String sql, List<String> selectFields, WhereBuilder where, List<Object> params, DQLResult result) {

    }

    @Override
    public void beforeInsert(Class<?> tableClass, String tableName, String sql, List<Object> params) {

    }

    @Override
    public void afterInsert(Class<?> tableClass, String tableName, String sql, List<Object> params, DMLResult result) {

    }

    @Override
    public void beforeDelete(Class<?> tableClass, String tableName, String sql, WhereBuilder where, List<Object> params) {

    }

    @Override
    public void afterDelete(Class<?> tableClass, String tableName, String sql, WhereBuilder where, List<Object> params, DMLResult result) {

    }

    @Override
    public void beforeUpdate(Class<?> tableClass, String tableName, String sql, WhereBuilder where, List<Object> params) {

    }

    @Override
    public void afterUpdate(Class<?> tableClass, String tableName, String sql, WhereBuilder where, List<Object> params, DMLResult result) {

    }

    @Override
    public void beforeInsertBatch(Class<?> tableClass, String tableName, String sql, List<List<Object>> params) {

    }

    @Override
    public void afterInsertBatch(Class<?> tableClass, String tableName, String sql, List<List<Object>> params, List<DMLResult> results) {

    }
}
